package com.ynny.Mapper;

import com.ynny.Entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {
    int insertUser(Users user);
    int updateUser(Users user);
    int deleteUserByNumber(String number);
    List<Users> selectAllUser();

    List<Users> selectUserByIdentity(String identity);

//    int updatePasswordByNumber(String number,String password);
    int updatePasswordByNumber(@Param("number") String number, @Param("password") String password);

}
